﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="jjjs_dlt_zigou.aspx.cs" Inherits="jjjs_dlt_zigou" MasterPageFile="~/APP_Master/MasterPage_Default.master" Title="大乐透奖金计算" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <title>双色球奖金计算器_奖金计算器</title>
    <%--<script src="App_Themes/js/jiangjinjisuan/jquery-1.10.2.min.js" type="text/javascript"></script>--%>

        <script src="App_Themes/js/jiangjinjisuan/jquery-1.js" type="text/javascript"></script>
    <script src="App_Themes/js/jiangjinjisuan/underscore-min.js" type="text/javascript"></script>

    <link href="App_Themes/css/webstyle.css" rel="stylesheet" />
    <link href="App_Themes/js/jiangjinjisuan/i6Fzam6N7fIj.css" rel="stylesheet" />
    <link href="App_Themes/js/jiangjinjisuan/mod.count.css" rel="stylesheet" />

    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            init();
        }
       );
        function init() {
            "use strict";
            getissue(),
          $("input[name=tz]").on("change", function () {
              var n = $("#selectbox ul");
              $(this).attr("id") == "pt" ? (n.eq(1).addClass("none"), n.eq(0).removeClass("none"), $("#mred option").eq(0).prop("selected", !0), $("#mblue option").eq(0).prop("selected", !0), primary()) : (n.eq(0).addClass("none"), n.eq(1).removeClass("none"), $("#mdred option").eq(0).prop("selected", !0), $("#mtred option").eq(0).prop("selected", !0), $("#mdblue option").eq(0).prop("selected", !0), $("#mtblue option").eq(0).prop("selected", !0), primarydt())
          }),

          $("#issue").on("change", function () {
              $(".cz-name b").html($(this).val()),
              getOpenCode();

          }),
          $("#red,#blue").on("change", function () {
              var t = {
                  pages: {}
              };
              var n = $("#red").val() * 1,
                  r = $("#blue").val() * 1,
                  i = combo(n, 5) * combo(r, 2)
              t.pages.price = $("#pzj").prop("checked") ? 3 : 2,
              $("#toshow b").eq(0).text(i),
              $("#toshow b").eq(1).text(i * t.pages.price);
          }),
            //普通追加
          $("#pzj").on("click", function () {
              var n = $("#toshow b").eq(0).text();//n：投多少注
              $(this).prop("checked") ? ($("#toshow b").eq(1).text(n * 3), updateBonus(2), primary()) : ($("#toshow b").eq(1).text(n * 2), updateBonus(1), primary())
          }),
            //胆拖追加
          $("#dtzj").on("click", function () {
              var n = $("#dtshow b").eq(0).text();
              $(this).prop("checked") ? ($("#dtshow b").eq(1).text(n * 3), updateBonus(2), primarydt()) : ($("#dtshow b").eq(1).text(n * 2), updateBonus(1), primarydt());
          }),
            //奖金计算
          $(".btn-large2-primary").on("click", function () {
              $("#pt").prop("checked") ? primary() : ($("#dred").val() * 1 == 0 && $("#dblue").val() * 1 == 0 && t.lightbox.alert({
                  content: "\u524d\u533a\u80c6\u7801\u4e0e\u540e\u533a\u80c6\u7801\u81f3\u5c11\u8bbe\u7f6e\u4e00\u4e2a"
              }), primarydt());
          }),

          $("#dblue,#tblue").on("change", function () {
              getInject();
          }),
            //胆拖红球
          $("#dred").on("change", function () {
              var n = $("#dred").val() * 1,
                  r = $("#tred").val() * 1;
              r + n > 35 && (r = 35 - n, $("#tred").get(0).selectedIndex = r - 1);
              var i = $(this).val() * 1,
                  s = "";
              for (var o = 0; o <= i; o++) s += "<option value=" + o + ">" + o + "\u4e2a" + "</option>";
              $("#mdred").html(s), getInject()
          }),
            //追加红球
          $("#tred").on("change", function () {
              var n = $("#dred").val() * 1,
                  r = $("#tred").val() * 1;
              r + n > 35 && (n = 35 - r, $("#dred").get(0).selectedIndex = n - 1);
              var i = $(this).val() * 1 <= 5 ? $(this).val() * 1 : 5,
                  s = "";
              for (var o = 0; o <= i; o++) s += "<option value=" + o + ">" + o + "\u4e2a" + "</option>";
              $("#mtred").html(s), getInject()
          }),
            //胆拖篮球
          $("#dblue").on("change", function () {
              var t = $("#dblue").val() * 1,
                  n = $("#tblue").val() * 1;
              n + t > 12 && (n = 12 - t, $("#tblue").get(0).selectedIndex = n - 1);
              var r = $(this).val() * 1,
                  i = "";
              for (var s = 0; s <= r; s++) i += "<option value=" + s + ">" + s + "\u4e2a" + "</option>";
              $("#mdblue").html(i)
          }),
            //追加篮球
          $("#tblue").on("change", function () {
              var t = $("#dblue").val() * 1,
                  n = $("#tblue").val() * 1;
              n + t > 12 && (t = 12 - n, $("#dblue").get(0).selectedIndex = t);
              var r = $(this).val() * 1;
              r = r <= 2 ? r : 2;
              var i = "";
              for (var s = 0; s <= r; s++) i += "<option value=" + s + ">" + s + "\u4e2a" + "</option>";
              $("#mtblue").html(i)
          }),
            //命中胆拖红球
          $("#mdred").on("change", function () {
              var t = $(this).val() * 1;
              $("#mtred").val() * 1 + t > 5 && ($("#mtred")[0].selectedIndex = 5 - t)
          }),
            //命中追加红球
          $("#mtred").on("change", function () {
              var t = $(this).val() * 1;
              $("#mdred").val() * 1 + t > 5 && ($("#mdred")[0].selectedIndex = t == 5 ? 0 : 5 - t)
          }),
            //命中胆拖篮球
          $("#mdblue").on("change", function () {
              var t = $(this).val() * 1;
              $("#mtblue").val() * 1 + t > 2 && ($("#mtblue")[0].selectedIndex = 2 - t)
          }),
            //命中追加篮球
          $("#mtblue").on("change", function () {
              var t = $(this).val() * 1;
              $("#mdblue").val() * 1 + t > 2 && ($("#mdblue")[0].selectedIndex = t == 2 ? 0 : 2 - t)
          })
        }
        function getissue() { //期数
            jQuery.ajax({
                url: "/Ajax/LotteryData.ashx",
                data: { t: 'GetTop10Data_dlt' },
                type: "get",
                dataType: "json",
                success: function (data) {
                    var ddl = $("#issue");
                    var result = eval(data);

                    $(result).each(function (key) {
                        //第一种方法
                        var opt = $("<option></option>").text(result[key].LotteryQS).val(result[key].id);
                        ddl.append(opt);
                        getOpenCode(this);
                    });
                },
            });

        }
        ////查询开奖信息
        function getOpenCode() {
            var t = {
                pages: {}
            };
            t.pages.bonusValue = [0, 0, 0, 200, 10, 5]
            var issue = $("#issue").val()
            jQuery.ajax({
                url: "/Ajax/LotteryData.ashx",
                data: { t: 'GetLotteryannouncement', issue: issue, lotteryType: 2 },
                type: "get",
                dataType: "json",
                success: function (n) {
                    if (n.Code) {
                        var r = n.Code.split(/[\s\+]/),
                            i = 0,
                            s = "";
                        for (; i < 7; i++) s += '<li><span class="ico-ball2 ' + (i < 5 ? "" : "ico-ball2-blue") + '">' + r[i] + "</span></li>";
                        $(".count-ball-list").html(s);
                        var o = n.Level1.split(":")[0],
                            u = n.Level2.split(":")[0],
                            a = n.Level3.split(":")[0];
                        $("#one").val(o);
                        $("#two").val(u);
                        $("#three").val(a);
                        o * 1 == 0 && u * 1 == 0 && a * 1 == 0 ? ($(".firstj").html("<em>\u672a\u516c\u5e03</em>"), $(".secondj").html("<em>\u672a\u516c\u5e03</em>"), $(".thirdj").html("<em>\u672a\u516c\u5e03</em>")) : (o * 1 == 0 ? $("#firstflag").show() : $("#firstflag").hide(), $(".firstj").find("em").html(currency(o, 0, 0)), $(".secondj").find("em").html(currency(u, 0, 0)), $(".thirdj").find("em").html(currency(a, 0, 0))), r.length == 7 ? (t.pages.bonusValue[0] = n.Level1.split(":")[0], t.pages.bonusValue[1] = n.Level2.split(":")[0], t.pages.bonusValue[2] = n.Level3.split(":")[0]) : (t.pages.bonusValue[0] = "\u672a\u516c\u5e03", t.pages.bonusValue[1] = "\u672a\u516c\u5e03", t.pages.bonusValue[2] = "\u672a\u516c\u5e03")
                    } else {
                        var i = 0,
                            s = "";
                        for (; i < 7; i++) s += '<li><span class="ico-ball2 ' + (i < 5 ? "" : "ico-ball2-blue") + '">--</span></li>';
                        $(".count-ball-list").html(s)
                    }
                }
            });

        }
        function format(e, n, r) {
            var i;
            n = typeof (n * 1) != "number" || isNaN(n * 1) ? 2 : Math.abs(n), i = Math.pow(10, n), e *= 1;
            var s = 9.9999e-11;
            switch (r) {
                case 1:
                    e = Math.ceil(e * i) / i;
                    break;
                case -1:
                    e = Math.floor(e * i + s) / i;
                    break;
                case 465:
                    var o = Math.floor(e * i + s) % 10 % 2,
                        u = Math.floor(e * i * 10 + s) % 10 == 5,
                        a = u && !o ? 1 / i : 0;
                    e = format(e, n) - a;
                    break;
                default:
                    e = (e * i + s) / i
            }
            return (e.toFixed(n) + "").replace(/^\./g, "0.").replace(/\.$/, "")//ToFixed四舍五入为指定小数的数字
        }
        function currency(e, n, r) {
            var i;
            return typeof n != "undefined" && (e = format(e, n, r)), i = (e + "").split("."), i[0] = i[0].replace(/(\d)(?=(\d{3})+$)/g, "$1,"), (i[0] + (i.length == 2 ? "." + i[1] : "")).replace(/^\./g, "0.")
        }
        function percent(e, n, r, i) {
            return format(e * 1 * (n || 100), r, i)
        }
        function combo(e, t) {
            var n, r;
            e / 2 < t && (t = e - t);
            if (e < t || t < 0) return 0;
            if (e >= 0 && t === 0) return 1;
            n = 1, r = e;
            for (var i = 1; i <= t; i++) n *= i, i < t && (r *= e - i);
            return r / n
        }


        function DT(e, n) {
            var r = e[0],
                i = e[1],
                s = e[2],
                o = e[3],
                u = n[0],
                a = n[1],
                f = n[2],
                l = n[3],
                c = a <= 5 - r ? a : 5 - r,
                h = l <= 2 - s ? l : 2 - s,
                p = [],
                d = [];
            for (var v = 0; v <= c; v++) p[v] = u + v;
            for (v = 0; v <= h; v++) d[v] = f + v;
            var m = [0, 0, 0, 0, 0, 0],
                g = 0;
            for (v = 0; v <= c; v++) for (var y = 0; y <= h; y++) g = Rankx(p[v], d[y]), g != -1 && (m[g] += Ccombo(i - a, 5 - r - v) * Ccombo(a, v) * Ccombo(o - l, 2 - s - y) * Ccombo(l, y));
            return m
        }
        function Ccombo(e, n) {
            if (n <= e) {
                var r = Tank(e - n) * Tank(n);
                return r = Tank(e) / r, r
            }
            return 0
        }
        function Tank(e) {
            return e ? Tank(e - 1) * e : 1
        }
        function Rank(e, t) {
            var n = e * 1 + t * 1;
            switch (n) {
                case 7:
                    return 0;
                case 6:
                    return t == 1 ? 1 : 3;
                case 5:
                    return t === 0 ? 2 : t == 1 ? 4 : 5;
                case 4:
                    return t === 0 ? 5 : 6;
                case 3:
                    return 7;
                case 2:
                    return t == 2 ? 7 : -1;
                default:
                    return -1
            }
        }
        function Rankx(e, t) {
            var n = e * 1 + t * 1;
            switch (n) {
                case 7:
                    return 0;
                case 6:
                    return t == 1 ? 1 : 2;
                case 5:
                    return t === 0 ? 2 : 3;
                case 4:
                    return 4;
                case 3:
                    return 5;
                case 2:
                    return e == 0 ? 5 : -1;
                default:
                    return -1
            }
        }
        function getInject() {
            var t = {
                pages: {}
            };
            t.pages.inject = [1, 4, 0, 2, 1],
            t.pages.inject[0] = $("#dred").val() * 1,
            t.pages.inject[1] = $("#tred").val() * 1,
            t.pages.inject[2] = $("#dblue").val() * 1,
            t.pages.inject[3] = $("#tblue").val() * 1;
            var n = combo(t.pages.inject[1], 5 - t.pages.inject[0]) * combo(t.pages.inject[3], 2 - t.pages.inject[2]);
            t.pages.price = $("#dtzj").prop("checked") ? 3 : 2, $("#dtshow b").eq(0).text(n), $("#dtshow b").eq(1).text(n * t.pages.price)
        }
        function getMyBall() {
            var t = {
                pages: {}
            };
            t.pages.myBall = [0, 0, 0, 0]
            t.pages.myBall[0] = $("#mdred").val() * 1, t.pages.myBall[1] = $("#mtred").val() * 1, t.pages.myBall[2] = $("#mdblue").val() * 1, t.pages.myBall[3] = $("#mtblue").val() * 1
        }
        function updateBonus(n) {
            var t = {
                pages: {}
            };

            var firstj = $("#one").val(), secondjd = $("#two").val(), thirdj = $("#three").val();
            t.pages.bonusValue = [firstj, secondjd, thirdj, 200, 10, 5]
            t.pages.bonusValue[0] == "0" && t.pages.bonusValue[1] == "0" && t.pages.bonusValue[2] == "0" && (t.pages.bonusValue[0] = "\u672a\u516c\u5e03", t.pages.bonusValue[1] = "\u672a\u516c\u5e03", t.pages.bonusValue[2] = "\u672a\u516c\u5e03");
            var r = $("#mtablex tbody tr"),
            i, s = 6;
            switch (n) {
                case 1:
                    for (var o = 1; o < s; o++) i = r.eq(2).find("td").eq(o).find("em"), i.text($.isNumeric(t.pages.bonusValue[o - 1]) ? currency(t.pages.bonusValue[o - 1], 0, 0) : t.pages.bonusValue[o - 1]);
                    break;
                case 2:
                    for (o = 1; o < 4; o++) i = r.eq(2).find("td").eq(o).find("em"), i.text($.isNumeric(t.pages.bonusValue[o - 1]) ? currency(t.pages.bonusValue[o - 1] * 1.6, 0, 0) : t.pages.bonusValue[o - 1]);
                    for (o = 4; o < s; o++) i = r.eq(2).find("td").eq(o).find("em"), i.text(currency(t.pages.bonusValue[o - 1] * 1.5, 0, 0));
                    break;
                default:
            }
        }
        function toshow(n) {
            var r = 0,
                i = "",
                s, o = 1,
                u = $("#mtablex tbody tr"),
                a = 7;
            for (; o < a; o++) {
                var f = u.eq(1).find("td").eq(o).find("em");//中奖注数
                f.text(currency(n[o - 1], 0, 0));
                var l = u.eq(2).find("td").eq(o).find("em"),//单注奖金
                    c = u.eq(3).find("td").eq(o).find("em"),//中奖奖金
                    s = l.text().replace(/,/g, "");
                if (s == "\u672a\u516c\u5e03") {
                    var h = "";
                    o == 1 ? h = "A" : o == 2 ? h = "B" : o == 3 && (h = "C"), s = n[o - 1] + (n[o - 1] == 0 ? 0 : h)
                }
                else s = parseInt(s, 10) * n[o - 1];
                if (isNaN(s)) {
                    c.text(s).css({
                        color: "#D80000",
                        fontWeight: "bold"
                    }), f.css({
                        color: "#D80000",
                        fontWeight: "bold"
                    }), l.css({
                        color: "#D80000",
                        fontWeight: "bold"
                    }), i = i + s + " + ";
                    continue
                }
                s * 1 > 0 ? (c.text(currency(s, 0, 0)).css({
                    color: "#D80000",
                    fontWeight: "bold"
                }), f.css({
                    color: "#D80000",
                    fontWeight: "bold"
                }), l.css({
                    color: "#D80000",
                    fontWeight: "bold"
                })) : (c.text(currency(s, 0, 0)).css({
                    color: "",
                    fontWeight: ""
                }), f.css({
                    color: "",
                    fontWeight: ""
                }), l.css({
                    color: "",
                    fontWeight: ""
                })), r += s
            }
            i = i.replace(/\+\s0/g, "").replace(/\+\s\+\s/g, " + ").replace(/0\s\+/g, ""), $(".fsz14,.fsz20").html(i + currency(r, 0, 0))
        }
        function primary() {

            var n = [0, 0, 0, 0, 0, 0],
                r = $("#red").val() * 1,
                i = $("#blue").val() * 1,
                s = $("#mred").val() * 1,
                o = $("#mblue").val() * 1;

            for (var u = 0; u <= s; u++) for (var a = 0; a <= o; a++) {
                var f = null;
                f = Rankx(u, a),
                f != -1 && (n[f] += combo(s, u) * combo(r - s, 5 - u) * combo(i - o, 2 - a) * combo(o, a))
            }
            toshow(n)

        }
        function primarydt() {
            var t = {
                pages: {}
            };
            var e = [0, 0, 0, 0, 0, 0]
            t.pages.bonusValue = [0, 0, 0, 200, 10, 5], t.pages.inject = [1, 4, 0, 2, 1], t.pages.myBall = [0, 0, 0, 0],
            getMyBall(),
            e = DT(t.pages.inject, t.pages.myBall),
            toshow(e)
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="doc3" style="width: 1200px">
        <div style="padding: 0 0 10px 0;">
            <span class="fl">
                <img src="images/daletou.jpg"></span> <span class="fl kjdb_text1">大乐透工具大全</span> <span class="fr kjdb_text2">其他奖金计算器： <a href="jjjs_ssq_zigou.aspx">双色球</a> <%--| <a href="jjjs_qlc_zigou.aspx">七乐彩</a>--%></span>
            <div class="cl"></div>
        </div>
        <div id="bd" class="kpc-bd">
            <div id="bd">

                <div class="mod-cp-bd">
                    <div class="hd">
                        <div class="hd-mainslt">
                            <ul class="count-hd-tabslt">
                                <li>
                                    <a href="BigLotto.aspx">开奖对比</a>
                                </li>
                                <li class="active">
                                    <a href="jjjs_dlt_zigou.aspx">奖金计算</a>
                                </li>
                                <li><a href="zhanyemeitiyuce_dlt.aspx">专业媒体预测</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="bd">
                        <div class="count-tab-cont">
                            <div class="nav-cz-sub">
                                <ul class="clearfix">
                                    <li class="active" desc="zx">
                                        <a href="jjjs_dlt_zigou.aspx">自购计算</a>
                                    </li>
                                    <li desc="zt">
                                        <a href="jjjs_dlt_hemai.aspx">合买计算</a>
                                    </li>
                                </ul>
                            </div>
                            <div class="count-box">
                                <div class="hd clearfix">
                                    <div class="cz-date">
                                        <label>查询期数：</label>
                                        <select class="issue" id="issue">
                                        </select>
                                    </div>
                                    <div class="count-ball">
                                        <%-- <b class="count-num-lable">开奖号码：</b>--%>
                                        <ul class="count-ball-list">
                                            <li><span class="ico-ball2 "></span></li>
                                            <li><span class="ico-ball2 "></span></li>
                                            <li><span class="ico-ball2 "></span></li>
                                            <li><span class="ico-ball2 "></span></li>
                                            <li><span class="ico-ball2 "></span></li>
                                            <li><span class="ico-ball2 ico-ball2-blue"></span></li>
                                            <li><span class="ico-ball2 ico-ball2-blue"></span></li>
                                        </ul>

                                    </div>
                                </div>
                                <div class="bd clearfix" id="selectbox">
                                    <div class="mod-select clearfix">
                                        <label class="k">投注类型：</label>
                                        <span class="v">
                                            <label class="pre">
                                                <input id="pt" class="radio_ck" name="tz" checked="checked" type="radio">
                                                普通投注</label>
                                            <label class="pre">
                                                <input id="dt" class="radio_ck" name="tz" type="radio">
                                                胆拖投注</label>
                                        </span>
                                    </div>
                                    <ul class="cont-form ">
                                        <li>
                                            <label class="k">我的投注：</label>
                                            <span class="v"><span class="pre">前区
													<select name="a3" class="input-small" id="red">
                                                        <option selected="selected" value="5">5个 </option>
                                                        <option value="6">6个 </option>
                                                        <option value="7">7个 </option>
                                                        <option value="8">8个 </option>
                                                        <option value="9">9个 </option>
                                                        <option value="10">10个 </option>
                                                        <option value="11">11个 </option>
                                                        <option value="12">12个 </option>
                                                        <option value="13">13个 </option>
                                                        <option value="14">14个 </option>
                                                        <option value="15">15个 </option>
                                                        <option value="16">16个 </option>
                                                        <option value="17">17个 </option>
                                                        <option value="18">18个 </option>
                                                        <option value="19">19个 </option>
                                                        <option value="20">20个 </option>
                                                        <option value="21">21个 </option>
                                                        <option value="22">22个 </option>
                                                        <option value="23">23个 </option>
                                                        <option value="24">24个 </option>
                                                        <option value="25">25个 </option>
                                                        <option value="26">26个 </option>
                                                        <option value="27">27个 </option>
                                                        <option value="28">28个 </option>
                                                        <option value="29">29个 </option>
                                                        <option value="30">30个 </option>
                                                        <option value="31">31个 </option>
                                                        <option value="32">32个 </option>
                                                        <option value="33">33个 </option>
                                                        <option value="34">34个 </option>
                                                        <option value="35">35个 </option>
                                                    </select>
                                            </span><span class="pre">后区
													<select name="a3" class="input-small" id="blue">

                                                        <option selected="selected" value="2">2个 </option>
                                                        <option value="3">3个 </option>
                                                        <option value="4">4个 </option>
                                                        <option value="5">5个 </option>
                                                        <option value="6">6个 </option>
                                                        <option value="7">7个 </option>
                                                        <option value="8">8个 </option>
                                                        <option value="9">9个 </option>
                                                        <option value="10">10个 </option>
                                                        <option value="11">11个 </option>
                                                        <option value="12">12个 </option>
                                                    </select>
                                            </span>
                                                <label>
                                                    <input class="checkbox" name="" value="" id="pzj" type="checkbox" />
                                                    <em class="red">追加投注</em>
                                                </label>
                                            </span>
                                        </li>
                                        <li>
                                            <label class="k">投注金额：</label>
                                            <span class="v"><span id="toshow">共计 <b class="red">1</b> 注，<b class="red">2</b>元</span> </span>
                                        </li>
                                        <li>
                                            <label class="k">我的命中：</label>
                                            <span class="v"><span class="pre">前区
													<select name="a3" class="input-small" id="mred">

                                                        <option selected="selected" value="0">0个 </option>
                                                        <option value="1">1个 </option>
                                                        <option value="2">2个 </option>
                                                        <option value="3">3个 </option>
                                                        <option value="4">4个 </option>
                                                        <option value="5">5个 </option>
                                                    </select>
                                            </span><span class="pre">后区
													<select name="a3" class="input-small" id="mblue">
                                                        <option selected="selected" value="0">0个 </option>
                                                        <option value="1">1个 </option>
                                                        <option value="2">2个 </option>
                                                    </select>
                                            </span></span>
                                        </li>
                                    </ul>
                                    <!-- 胆拖投注 -->
                                    <ul class="cont-form none">
                                        <li>
                                            <span class="k">我的投注：</span>
                                            <span class="v">
                                                <p>
                                                    <span class="pre">前区胆码
														<select name="a3" class="input-small" id="dred">

                                                            <option value="0">0个 </option>
                                                            <option value="1" selected="selected">1个 </option>
                                                            <option value="2">2个 </option>
                                                            <option value="3">3个 </option>
                                                            <option value="4">4个 </option>

                                                        </select>
                                                    </span>
                                                    <span class="pre">前区拖码
														<select name="a3" class="input-small" id="tred">

                                                            <option value="1">1个 </option>
                                                            <option value="2">2个 </option>
                                                            <option value="3">3个 </option>
                                                            <option value="4" selected="selected">4个 </option>
                                                            <option value="5">5个 </option>
                                                            <option value="6">6个 </option>
                                                            <option value="7">7个 </option>
                                                            <option value="8">8个 </option>
                                                            <option value="9">9个 </option>
                                                            <option value="10">10个 </option>
                                                            <option value="11">11个 </option>
                                                            <option value="12">12个 </option>
                                                            <option value="13">13个 </option>
                                                            <option value="14">14个 </option>
                                                            <option value="15">15个 </option>
                                                            <option value="16">16个 </option>
                                                            <option value="17">17个 </option>
                                                            <option value="18">18个 </option>
                                                            <option value="19">19个 </option>
                                                            <option value="20">20个 </option>
                                                            <option value="21">21个 </option>
                                                            <option value="22">22个 </option>
                                                            <option value="23">23个 </option>
                                                            <option value="24">24个 </option>
                                                            <option value="25">25个 </option>
                                                            <option value="26">26个 </option>
                                                            <option value="27">27个 </option>
                                                            <option value="28">28个 </option>
                                                            <option value="29">29个 </option>
                                                            <option value="30">30个 </option>
                                                            <option value="31">31个 </option>
                                                            <option value="32">32个 </option>
                                                            <option value="33">33个 </option>
                                                            <option value="34">34个 </option>
                                                            <option value="34">35个 </option>
                                                        </select>
                                                    </span>
                                                </p>
                                                <p>
                                                    <span class="pre">后区胆码
														<select name="a3" class="input-small" id="dblue">
                                                            <option selected="selected" value="0">0个 </option>
                                                            <option value="1">1个 </option>
                                                        </select>
                                                    </span>
                                                    <span class="pre">后区拖码
														<select name="a3" class="input-small" id="tblue">

                                                            <option value="1">1个 </option>
                                                            <option value="2" selected="selected">2个 </option>
                                                            <option value="3">3个 </option>
                                                            <option value="4">4个 </option>
                                                            <option value="5">5个 </option>
                                                            <option value="6">6个 </option>
                                                            <option value="7">7个 </option>
                                                            <option value="8">8个 </option>
                                                            <option value="9">9个 </option>
                                                            <option value="10">10个 </option>
                                                            <option value="11">11个 </option>
                                                            <option value="12">12个 </option>
                                                        </select>
                                                    </span>
                                                    <label>
                                                        <input class="checkbox" name="" value="" id="dtzj" type="checkbox" />
                                                        <em class="red">追加投注</em>
                                                    </label>
                                                </p>
                                            </span>
                                        </li>
                                        <li>
                                            <span class="k">投注金额：</span>
                                            <span class="v"><span id="dtshow">共计 <b class="red">1</b> 注，<b class="red">2</b>元</span> </span>
                                        </li>
                                        <li>
                                            <span class="k">我的命中：</span>
                                            <span class="v">
                                                <p>
                                                    <span class="pre">前区胆码
														<select name="a3" class="input-small" id="mdred">

                                                            <option value="0">0个 </option>
                                                            <option value="1" selected="selected">1个 </option>
                                                        </select>
                                                    </span>

                                                    <span class="pre">前区拖码
														<select name="a3" class="input-small" id="mtred">

                                                            <option value="0">0个 </option>
                                                            <option value="1">1个 </option>
                                                            <option value="2">2个 </option>
                                                            <option value="3">3个 </option>
                                                            <option value="4" selected="selected">4个 </option>
                                                        </select>
                                                    </span>

                                                </p>
                                                <p>
                                                    <span class="pre">后区胆码
														<select name="a3" class="input-small" id="mdblue">
                                                            <option value="0" selected="selected">0个 </option>
                                                            <option value="1">1个</option>

                                                        </select>
                                                    </span>
                                                    <span class="pre">后区拖码
														<select name="a3" class="input-small" id="mtblue">

                                                            <option value="0">0个 </option>
                                                            <option value="1">1个 </option>
                                                            <option value="2" selected="selected">2个 </option>
                                                        </select>
                                                    </span>
                                                </p>
                                            </span>
                                        </li>
                                    </ul>
                                    <div class="mod-submit" style="margin-left: -78px;">
                                        <span class="btn-large3 btn-large2-primary">计算奖金</span>
                                    </div>
                                </div>
                            </div>
                            <div class="count-result">
                                <p class="count-result-hd">
                                    <b>您中奖总金额（税前）是：</b><em class="fsz20">0</em> 元
                                </p>
                                <table class="count-result-table count-result-slt" id="mtablex" width="100%">
                                    <thead>
                                        <tr>
                                            <th class="tac" width="80">奖级</th>
                                            <th width="99">一等奖</th>
                                            <th width="93">二等奖</th>
                                            <th width="81">三等奖</th>
                                            <th width="">四等奖</th>
                                            <th width="">五等奖</th>
                                            <th width="">六等奖</th>
                                            <th class="tac" width="120">中奖总金额(税前)</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td class="tac fsttd">中奖条件</td>
                                            <td>5+2</td>
                                            <td>5+1</td>
                                            <td>5+0,4+2</td>
                                            <td>4+1,3+2</td>
                                            <td>4+0,3+1,2+2</td>
                                            <td>3+0,1+2,2+1,0+2</td>
                                            <td rowspan="4" class="tac"><b class="fsz14 red">0</b> 元</td>
                                        </tr>
                                        <tr>
                                            <td class="tac fsttd">中奖注数</td>
                                            <td><em>0</em> 注</td>
                                            <td><em>0</em> 注</td>
                                            <td><em>0</em> 注</td>
                                            <td><em>0</em> 注</td>
                                            <td><em>0</em> 注</td>
                                            <td><em>0</em> 注</td>
                                        </tr>
                                        <tr>
                                            <td class="tac fsttd">单注奖金</td>
                                            <td class="firstj"><em></em>元 <span id="firstflag" style="display: none">(全国无人中)</span></td>
                                            <td class="secondj"><em></em>元</td>
                                            <td class="thirdj"><em></em>元</td>
                                            <td><em>200</em> 元</td>
                                            <td><em>10</em> 元</td>
                                            <td><em>5</em> 元</td>
                                        </tr>
                                        <tr>
                                            <td class="tac fsttd">中奖奖金</td>
                                            <td><em>0</em> 元</td>
                                            <td><em>0</em> 元</td>
                                            <td><em>0</em> 元</td>
                                            <td><em>0</em> 元</td>
                                            <td><em>0</em> 元</td>
                                            <td><em>0</em> 元</td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            <input type="text" id="one" style="display: none;" />
                            <input type="text" id="two" style="display: none;" />
                            <input type="text" id="three" style="display: none;" />
                            <div class="data-info">

                                <h3>说明</h3>
                                <p>
                                    中奖条件格式为“前区命中个数+后区命中个数”，未命中则为“0”。例如：“5+1”为前区命中5个+后区命中1个，“5+0”为前区命中5个+后区未命中。 
                                </p>
                                <p>
                                    奖金计算结果将根据实际开奖奖金进行录入数据后计算得出，如有偏差，请以官方开奖时公布奖金为准！ 
                                </p>
                                <p>
                                    奖金未公布时，A、B、C分别用来表示一等奖奖金、二等奖奖金、三等奖奖金。 
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
</asp:Content>
